<?php

namespace oneStep\Data;

use oneStep\Data\Medoo;
use oneStep\Facade;
use oneStep\Data\Dbmethod;


class Db extends Facade
{
    public $medoo;

    public function __construct()
    {
    }

    public static function getFacadeAccessor()
    {
        if (config()['orm'] == 'medoo') {
            return Medoo::class;
        }
        return Dbmethod::class;
    }
}